All Packages  Class Hierarchy  This Package  Previous  Next  Index

Class com.apple.alpha.app.Panel

java.lang.Object
   |
   +----com.apple.alpha.core.NativeObject
           |
           +----com.apple.alpha.app.Responder
                   |
                   +----com.apple.alpha.app.Window
                           |
                           +----com.apple.alpha.app.Panel

public class Panel
extends Window
This class wraps the Objective-C class NSPanel.


Variable Index

 o AlertAlternateReturn
 o AlertDefaultReturn
 o AlertErrorReturn
 o AlertOtherReturn
 o CancelButton
 o OKButton

Constructor Index

 o Panel()
This default constructor is equivalent to Objective-C's [[NSPanel alloc] init].
 o Panel(boolean, int)
Protected constructor used by the bridge to wrap an Objective-C object.
 o Panel(Coder)
This constructor has the same effect as calling - initWithCoder: on a newly allocated object.
 o Panel(Rect, int, int, boolean)
This constructor has the same effect as calling - initWithContentRect:styleMask:backing:defer: on a newly allocated object.
 o Panel(Rect, int, int, boolean, Screen)
This constructor has the same effect as calling - initWithContentRect:styleMask:backing:defer:screen: on a newly allocated object.

Method Index

 o becomesKeyOnlyIfNeeded()
A wrapper for the - becomesKeyOnlyIfNeeded Objective-C instance method.
 o isFloatingPanel()
A wrapper for the - isFloatingPanel Objective-C instance method.
 o setBecomesKeyOnlyIfNeeded(boolean)
A wrapper for the - setBecomesKeyOnlyIfNeeded: Objective-C instance method.
 o setFloatingPanel(boolean)
A wrapper for the - setFloatingPanel: Objective-C instance method.
 o setWorksWhenModal(boolean)
A wrapper for the - setWorksWhenModal: Objective-C instance method.
 o worksWhenModal()
A wrapper for the - worksWhenModal Objective-C instance method.

Variables

 o AlertDefaultReturn
 public static final int AlertDefaultReturn
 o AlertAlternateReturn
 public static final int AlertAlternateReturn
 o AlertOtherReturn
 public static final int AlertOtherReturn
 o AlertErrorReturn
 public static final int AlertErrorReturn
 o OKButton
 public static final int OKButton
 o CancelButton
 public static final int CancelButton

Constructors

 o Panel
 protected Panel(boolean shouldAllocate,
                 int objcObject)
Protected constructor used by the bridge to wrap an Objective-C object. It should never be invoked directly.

 o Panel
 public Panel()
This default constructor is equivalent to Objective-C's [[NSPanel alloc] init].

 o Panel
 public Panel(Coder aDecoder)
This constructor has the same effect as calling - initWithCoder: on a newly allocated object.

 o Panel
 public Panel(Rect contentRect,
              int aStyle,
              int bufferingType,
              boolean flag)
This constructor has the same effect as calling - initWithContentRect:styleMask:backing:defer: on a newly allocated object.

 o Panel
 public Panel(Rect contentRect,
              int aStyle,
              int bufferingType,
              boolean flag,
              Screen screen)
This constructor has the same effect as calling - initWithContentRect:styleMask:backing:defer:screen: on a newly allocated object.

Methods

 o isFloatingPanel
 public native boolean isFloatingPanel()
A wrapper for the - isFloatingPanel Objective-C instance method.

 o setFloatingPanel
 public native void setFloatingPanel(boolean flag)
A wrapper for the - setFloatingPanel: Objective-C instance method.

 o becomesKeyOnlyIfNeeded
 public native boolean becomesKeyOnlyIfNeeded()
A wrapper for the - becomesKeyOnlyIfNeeded Objective-C instance method.

 o setBecomesKeyOnlyIfNeeded
 public native void setBecomesKeyOnlyIfNeeded(boolean flag)
A wrapper for the - setBecomesKeyOnlyIfNeeded: Objective-C instance method.

 o worksWhenModal
 public native boolean worksWhenModal()
A wrapper for the - worksWhenModal Objective-C instance method.

Overrides:
worksWhenModal in class Window
 o setWorksWhenModal
 public native void setWorksWhenModal(boolean flag)
A wrapper for the - setWorksWhenModal: Objective-C instance method.


All Packages  Class Hierarchy  This Package  Previous  Next  Index